Integrand size = 26, antiderivative size = 192 \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^3} \, dx=-\frac {(b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )^2}+\frac {5 c (b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right )^2 d \left (a+b x+c x^2\right )}+\frac {5 c^2 \sqrt {d} \arctan \left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )}{\left (b^2-4 a c\right )^{9/4}}-\frac {5 c^2 \sqrt {d} \text {arctanh}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )}{\left (b^2-4 a c\right )^{9/4}} \]
[Out]
Time = 0.10 (sec) , antiderivative size = 192, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {701, 708, 335, 304, 209, 212} \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^3} \, dx=\frac {5 c^2 \sqrt {d} \arctan \left (\frac {\sqrt {d (b+2 c x)}}{\sqrt {d} \sqrt [4]{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{9/4}}-\frac {5 c^2 \sqrt {d} \text {arctanh}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt {d} \sqrt [4]{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{9/4}}+\frac {5 c (b d+2 c d x)^{3/2}}{2 d \left (b^2-4 a c\right )^2 \left (a+b x+c x^2\right )}-\frac {(b d+2 c d x)^{3/2}}{2 d \left (b^2-4 a c\right ) \left (a+b x+c x^2\right )^2} \]
[In]
[Out]
Rule 209
Rule 212
Rule 304
Rule 335
Rule 701
Rule 708
Rubi steps \begin{align*} \text {integral}& = -\frac {(b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )^2}-\frac {(5 c) \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^2} \, dx}{2 \left (b^2-4 a c\right )} \\ & = -\frac {(b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )^2}+\frac {5 c (b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right )^2 d \left (a+b x+c x^2\right )}+\frac {\left (5 c^2\right ) \int \frac {\sqrt {b d+2 c d x}}{a+b x+c x^2} \, dx}{2 \left (b^2-4 a c\right )^2} \\ & = -\frac {(b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )^2}+\frac {5 c (b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right )^2 d \left (a+b x+c x^2\right )}+\frac {(5 c) \text {Subst}\left (\int \frac {\sqrt {x}}{a-\frac {b^2}{4 c}+\frac {x^2}{4 c d^2}} \, dx,x,b d+2 c d x\right )}{4 \left (b^2-4 a c\right )^2 d} \\ & = -\frac {(b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )^2}+\frac {5 c (b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right )^2 d \left (a+b x+c x^2\right )}+\frac {(5 c) \text {Subst}\left (\int \frac {x^2}{a-\frac {b^2}{4 c}+\frac {x^4}{4 c d^2}} \, dx,x,\sqrt {d (b+2 c x)}\right )}{2 \left (b^2-4 a c\right )^2 d} \\ & = -\frac {(b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )^2}+\frac {5 c (b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right )^2 d \left (a+b x+c x^2\right )}-\frac {\left (5 c^2 d\right ) \text {Subst}\left (\int \frac {1}{\sqrt {b^2-4 a c} d-x^2} \, dx,x,\sqrt {d (b+2 c x)}\right )}{\left (b^2-4 a c\right )^2}+\frac {\left (5 c^2 d\right ) \text {Subst}\left (\int \frac {1}{\sqrt {b^2-4 a c} d+x^2} \, dx,x,\sqrt {d (b+2 c x)}\right )}{\left (b^2-4 a c\right )^2} \\ & = -\frac {(b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right ) d \left (a+b x+c x^2\right )^2}+\frac {5 c (b d+2 c d x)^{3/2}}{2 \left (b^2-4 a c\right )^2 d \left (a+b x+c x^2\right )}+\frac {5 c^2 \sqrt {d} \tan ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )}{\left (b^2-4 a c\right )^{9/4}}-\frac {5 c^2 \sqrt {d} \tanh ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )}{\left (b^2-4 a c\right )^{9/4}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.93 (sec) , antiderivative size = 266, normalized size of antiderivative = 1.39 \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^3} \, dx=\left (\frac {1}{2}+\frac {i}{2}\right ) c^2 \sqrt {d (b+2 c x)} \left (-\frac {\left (\frac {1}{2}-\frac {i}{2}\right ) (b+2 c x) \left (b^2-5 b c x-c \left (9 a+5 c x^2\right )\right )}{c^2 \left (b^2-4 a c\right )^2 (a+x (b+c x))^2}-\frac {5 \arctan \left (1-\frac {(1+i) \sqrt {b+2 c x}}{\sqrt [4]{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{9/4} \sqrt {b+2 c x}}+\frac {5 \arctan \left (1+\frac {(1+i) \sqrt {b+2 c x}}{\sqrt [4]{b^2-4 a c}}\right )}{\left (b^2-4 a c\right )^{9/4} \sqrt {b+2 c x}}-\frac {5 \text {arctanh}\left (\frac {(1+i) \sqrt [4]{b^2-4 a c} \sqrt {b+2 c x}}{\sqrt {b^2-4 a c}+i (b+2 c x)}\right )}{\left (b^2-4 a c\right )^{9/4} \sqrt {b+2 c x}}\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(372\) vs. \(2(164)=328\).
Time = 2.86 (sec) , antiderivative size = 373, normalized size of antiderivative = 1.94
method | result | size |
pseudoelliptic | \(\frac {\left (d \left (2 c x +b \right )\right )^{\frac {3}{2}}}{8 \left (a +x \left (c x +b \right )\right )^{2} \left (-\frac {b^{2}}{4}+a c \right ) d}+\frac {5 c \left (d \left (2 c x +b \right )\right )^{\frac {3}{2}}}{32 \left (c \,x^{2}+b x +a \right ) \left (-\frac {b^{2}}{4}+a c \right )^{2} d}+\frac {5 d^{5} c^{2} \sqrt {2}\, \ln \left (\frac {\sqrt {d^{2} \left (4 a c -b^{2}\right )}-\left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}} \sqrt {d \left (2 c x +b \right )}\, \sqrt {2}+d \left (2 c x +b \right )}{\left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}} \sqrt {d \left (2 c x +b \right )}\, \sqrt {2}+\sqrt {d^{2} \left (4 a c -b^{2}\right )}+d \left (2 c x +b \right )}\right )}{4 \left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {9}{4}}}+\frac {5 d^{5} c^{2} \sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, \sqrt {d \left (2 c x +b \right )}+\left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}}}{\left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}}}\right )}{2 \left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {9}{4}}}-\frac {5 d^{5} c^{2} \sqrt {2}\, \arctan \left (\frac {-\sqrt {2}\, \sqrt {d \left (2 c x +b \right )}+\left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}}}{\left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {1}{4}}}\right )}{2 \left (d^{2} \left (4 a c -b^{2}\right )\right )^{\frac {9}{4}}}\) | \(373\) |
derivativedivides | \(64 c^{2} d^{5} \left (\frac {\left (2 c d x +b d \right )^{\frac {3}{2}}}{8 \left (4 a c \,d^{2}-b^{2} d^{2}\right ) \left (\left (2 c d x +b d \right )^{2}+4 a c \,d^{2}-b^{2} d^{2}\right )^{2}}+\frac {\frac {5 \left (2 c d x +b d \right )^{\frac {3}{2}}}{32 \left (4 a c \,d^{2}-b^{2} d^{2}\right ) \left (\left (2 c d x +b d \right )^{2}+4 a c \,d^{2}-b^{2} d^{2}\right )}+\frac {5 \sqrt {2}\, \left (\ln \left (\frac {2 c d x +b d -\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}{2 c d x +b d +\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )-2 \arctan \left (-\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )\right )}{256 \left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {5}{4}}}}{4 a c \,d^{2}-b^{2} d^{2}}\right )\) | \(377\) |
default | \(64 c^{2} d^{5} \left (\frac {\left (2 c d x +b d \right )^{\frac {3}{2}}}{8 \left (4 a c \,d^{2}-b^{2} d^{2}\right ) \left (\left (2 c d x +b d \right )^{2}+4 a c \,d^{2}-b^{2} d^{2}\right )^{2}}+\frac {\frac {5 \left (2 c d x +b d \right )^{\frac {3}{2}}}{32 \left (4 a c \,d^{2}-b^{2} d^{2}\right ) \left (\left (2 c d x +b d \right )^{2}+4 a c \,d^{2}-b^{2} d^{2}\right )}+\frac {5 \sqrt {2}\, \left (\ln \left (\frac {2 c d x +b d -\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}{2 c d x +b d +\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )-2 \arctan \left (-\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )\right )}{256 \left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {5}{4}}}}{4 a c \,d^{2}-b^{2} d^{2}}\right )\) | \(377\) |
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.28 (sec) , antiderivative size = 1980, normalized size of antiderivative = 10.31 \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^3} \, dx=\text {Too large to display} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^3} \, dx=\text {Timed out} \]
[In]
[Out]
Exception generated. \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^3} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 645 vs. \(2 (164) = 328\).
Time = 0.30 (sec) , antiderivative size = 645, normalized size of antiderivative = 3.36 \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^3} \, dx=-\frac {5 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c^{2} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} + 2 \, \sqrt {2 \, c d x + b d}\right )}}{2 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}}}\right )}{\sqrt {2} b^{6} d - 12 \, \sqrt {2} a b^{4} c d + 48 \, \sqrt {2} a^{2} b^{2} c^{2} d - 64 \, \sqrt {2} a^{3} c^{3} d} - \frac {5 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c^{2} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} - 2 \, \sqrt {2 \, c d x + b d}\right )}}{2 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}}}\right )}{\sqrt {2} b^{6} d - 12 \, \sqrt {2} a b^{4} c d + 48 \, \sqrt {2} a^{2} b^{2} c^{2} d - 64 \, \sqrt {2} a^{3} c^{3} d} + \frac {5 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c^{2} \log \left (2 \, c d x + b d + \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} \sqrt {2 \, c d x + b d} + \sqrt {-b^{2} d^{2} + 4 \, a c d^{2}}\right )}{2 \, {\left (\sqrt {2} b^{6} d - 12 \, \sqrt {2} a b^{4} c d + 48 \, \sqrt {2} a^{2} b^{2} c^{2} d - 64 \, \sqrt {2} a^{3} c^{3} d\right )}} - \frac {5 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c^{2} \log \left (2 \, c d x + b d - \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} \sqrt {2 \, c d x + b d} + \sqrt {-b^{2} d^{2} + 4 \, a c d^{2}}\right )}{2 \, {\left (\sqrt {2} b^{6} d - 12 \, \sqrt {2} a b^{4} c d + 48 \, \sqrt {2} a^{2} b^{2} c^{2} d - 64 \, \sqrt {2} a^{3} c^{3} d\right )}} - \frac {2 \, {\left (9 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} b^{2} c^{2} d^{3} - 36 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} a c^{3} d^{3} - 5 \, {\left (2 \, c d x + b d\right )}^{\frac {7}{2}} c^{2} d\right )}}{{\left (b^{4} - 8 \, a b^{2} c + 16 \, a^{2} c^{2}\right )} {\left (b^{2} d^{2} - 4 \, a c d^{2} - {\left (2 \, c d x + b d\right )}^{2}\right )}^{2}} \]
[In]
[Out]
Time = 9.57 (sec) , antiderivative size = 320, normalized size of antiderivative = 1.67 \[ \int \frac {\sqrt {b d+2 c d x}}{\left (a+b x+c x^2\right )^3} \, dx=\frac {\frac {10\,c^2\,d\,{\left (b\,d+2\,c\,d\,x\right )}^{7/2}}{16\,a^2\,c^2-8\,a\,b^2\,c+b^4}+\frac {18\,c^2\,d^3\,{\left (b\,d+2\,c\,d\,x\right )}^{3/2}}{4\,a\,c-b^2}}{{\left (b\,d+2\,c\,d\,x\right )}^4-{\left (b\,d+2\,c\,d\,x\right )}^2\,\left (2\,b^2\,d^2-8\,a\,c\,d^2\right )+b^4\,d^4+16\,a^2\,c^2\,d^4-8\,a\,b^2\,c\,d^4}+\frac {5\,c^2\,\sqrt {d}\,\mathrm {atan}\left (\frac {b^4\,\sqrt {b\,d+2\,c\,d\,x}+16\,a^2\,c^2\,\sqrt {b\,d+2\,c\,d\,x}-8\,a\,b^2\,c\,\sqrt {b\,d+2\,c\,d\,x}}{\sqrt {d}\,{\left (b^2-4\,a\,c\right )}^{9/4}}\right )}{{\left (b^2-4\,a\,c\right )}^{9/4}}+\frac {c^2\,\sqrt {d}\,\mathrm {atan}\left (\frac {b^4\,\sqrt {b\,d+2\,c\,d\,x}\,1{}\mathrm {i}+a^2\,c^2\,\sqrt {b\,d+2\,c\,d\,x}\,16{}\mathrm {i}-a\,b^2\,c\,\sqrt {b\,d+2\,c\,d\,x}\,8{}\mathrm {i}}{\sqrt {d}\,{\left (b^2-4\,a\,c\right )}^{9/4}}\right )\,5{}\mathrm {i}}{{\left (b^2-4\,a\,c\right )}^{9/4}} \]
[In]
[Out]